<?php
	if (isset($_POST['MaThanhVien']))
{
	require_once 'includes/config.php';
	
	$sql="DELETE FROM member WHERE MATHANHVIEN='" . $_POST['MaThanhVien'] . "'";
	if (!mysql_query($sql))
	{
		die('Error: ' . mysql_error());
	}
	echo "Da xoa thong tin hoc sinh thanh cong <br/>";
	mysql_close($con);
	//header("Location: admin.php");
}
?>